package cn.wind.xboot.logic.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 *智能秤列表dto
 * @author WangHao
 * @date 2019-01-03
 */
public class StoreSteelyardDto {
    /**
     * 智能秤id
     */
    private Long id;
    /**
     * 设备识别号
     */
    private String deviceToken;
    /**
     * 添加时间
     */
    private Date createTime;

    public Long getId() {
        return id;
    }
    @JsonSerialize(using = ToStringSerializer.class)
    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceToken() {
        return deviceToken;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
